<template>
  <div class="cons-item">
    <div class="title">{{ title }}</div>
    <div class="content">{{ content }}</div>
  </div>
</template>

<script>
export default {
  name: 'ConsItem',
  props: {
    title: String,
    content: String | Number
  }
}
</script>

<style lang='scss' scoped>
.cons-item {
  display: flex;
  flex-direction: row;
  height: .44rem;
  border: 1px solid #ddd;
  border-radius: .05rem;
  margin-bottom: .15rem;
  font-size: .16rem;
  background-color: #fff;

  .title {
    width: 1rem;
    height: .44rem;
    line-height: .44rem;
    text-align: center;
    color: #C71585;
  }

  .content {
    font-size: .16rem;
    line-height: .44rem;
    color: #666;
  }
}
</style>